void genConvFunc (
	 in float2            coord   : TEXCOORD0,
	 uniform samplerRECT  data    : TEXUNIT0,
	 uniform float        wTerm   : COLOR,
//	 uniform float        PI      : COLOR,
	 out float4           output  : COLOR	 
	
)
{
   float PI = 3.141592654;  
   float4 x = texRECT(data,coord);
   output.r = coord.x;
   output.g = coord.y;
   output.b = cos(PI*wTerm*(pow(coord.x,2)+pow(coord.y,2)));
   output.a = sin(PI*wTerm*(pow(coord.x,2)+pow(coord.y,2)));
   
}
